package com.xhorse.lockplatform.service;

import javax.servlet.http.HttpServletRequest;


public interface RegistrantService {

    String checkLogin(String username, String password);

    String Registration(String cellPhone, String password, String ip);

    boolean checkSMSCode(String username, String SMS);

    boolean sendSMS(String username);

    String passwordRest(String customerid, String password, String newPassword);

    String logout(int customerId);

    boolean isRegisted(String username);

    boolean sendEMS(String username);

    String getDefaultAdress(HttpServletRequest httpServletRequest);

    String getAdressList(HttpServletRequest httpServletRequest);

    String setDefaultAddress(HttpServletRequest httpServletRequest);

    String deleteAddress(HttpServletRequest httpServletRequest);

    String addAddress(HttpServletRequest httpServletRequest);

    String editAddress(HttpServletRequest httpServletRequest);

    String getAddresTable(HttpServletRequest httpServletRequest);

}
